package cn.dbqn.service;

import cn.dbqn.dao.DrugenterMapper;
import cn.dbqn.entity.Drugenter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DrugenterService {
    @Autowired
    private DrugenterMapper drugenterMapper;

    public List<Drugenter> findAllYprk(){
        return drugenterMapper.findAll();
    }

    public Drugenter yprkxx(Integer dputno){
        return drugenterMapper.yprkxx(dputno);
    }
}
